
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

<#if lombokEnable >
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.ToString;
</#if>

/**
* @author :${author}
* @description: ${desc}
* @create date: ${createDate}
*/

<#if lombokEnable >
@Data
</#if>
public class ${entityName}PageDTO extends PageDTO {

<#list columnEntityList as filed>
    /** ${filed.sqlFieldComment}  */
    @ApiModelProperty(value="${filed.sqlFieldComment}",name="${filed.fieldNameLow}")
<#if primaryKey!='noPrimaryKey' && filed.sqlField=primaryKey>
    ${filed.fieldQualifier} ${filed.javaFieldType} ${filed.fieldNameLow};
<#else>
    ${filed.fieldQualifier} ${filed.javaFieldType} ${filed.fieldNameLow};
</#if>

</#list>
<#if !lombokEnable >
    <#list columnEntityList as filed>

    public ${filed.javaFieldType} get${filed.fieldName}() {
        return ${filed.fieldNameLow};
    }

    public void set${filed.fieldName}(${filed.javaFieldType} ${filed.fieldNameLow}) {
        this.${filed.fieldNameLow} = ${filed.fieldNameLow};
    }
    </#list>
</#if>
}
